package com.qianfeng.springbootquickstart.pojo;



import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * Created by jackiechan on 2021/6/30 10:09
 *
 * @author jackiechan
 * 请记住 2021-06-24 这个让我变成 SB 的日子
 */
//@Configuration
//@ConfigurationProperties(prefix = "my")

@ConfigurationProperties(prefix = "my")
@Configuration
public class User {

    private String name;

    private String password;


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
